import { createRouter, createWebHistory } from 'vue-router'
import DoctorLoginView from '@/views/DoctorLoginView.vue'
import OrderListView from '@/views/OrderListView.vue'
import OrderContentView from '@/views/OrderContentView.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'login',
      component: DoctorLoginView,
    },
    {
      path: '/orderlist',
      name: 'orderlist',
      component: OrderListView,
    },
    {
      path: '/orderdetail',
      name: 'orderdetalil',
      component: OrderContentView,
    },
    
  ],
})

export default router
